<div class="main_container">
	<div class="main_label_header_container">
		<h2>STUDENT</h2>
	</div>
	<div class="main_label_grid_container">
		<table class="table-grid">
			<thead>
				<tr>
					<th class="action-width"><input type="checkbox" id="select-all" /></th>
					<th><?php echo lang('student_label_id'); ?></th>
					<th><?php echo lang('student_label_lastname'); ?></th>
					<th><?php echo lang('student_label_middlename'); ?></th>
					<th><?php echo lang('student_label_firstname'); ?></th>
					<th><?php echo lang('student_label_date_registered'); ?></th>
					<th class="action-width"><?php echo lang('student_label_action'); ?></th>
				</tr>
			</thead>
			<tbody style="height: 10px; overflow: scroll;">
				<?php $i = 0; ?>
				<?php foreach($students as $student) : ?>
					<tr class="<?php echo ($i % 2) ? 'odd' : 'even'; ?>">
						<td class="align-center"><input type="checkbox" name="user_id[]" value="<?php echo $student->id; ?>" /></td>
						<td class="align-right"><?php echo $student->number; ?></td>
						<td class="align-right"><?php echo $student->lastName; ?></td>
						<td class="align-right"><?php echo $student->middlename; ?></td>
						<td class="align-right"><?php echo $student->firstname; ?></td>
						<td class="align-right"><?php echo $student->date_registered; ?></td>
						<td class="align-center">
							<a href="<?php echo site_url('student/view/'.$student->id); ?>" class="btn btn-edit" title="<?php echo lang('subject_edit_button'); ?>"><span class="btn-icon edit-icon"></span></a>
							<a href="<?php echo site_url('grading/student/edit/'.$student->id); ?>" class="btn btn-edit" title="<?php echo lang('subject_edit_button'); ?>"><span class="btn-icon edit-icon"></span></a>
							<a href="<?php echo site_url('grading/student/delete/'.$student->id); ?>" class="btn btn-delete" title="<?php echo lang('subject_delete_button'); ?>"><span class="btn-icon delete-icon"></span></a>
						</td>
					</tr>
					<?php $i++; ?>
				<?php endforeach; ?>
			</tbody>
		</table>
		<br/>
		<?php echo $page; ?>
	</div>
	<br/>
	<div class="">
		<a href="<?php echo site_url('student/create'); ?>" class="btn btn-add">
    	<span class="btn-icon plus-icon"></span>
		<?php echo lang('student_button_create'); ?>
    </a>
    <a href="#" class="btn btn-delete" id="del_button">
    	<span class="btn-icon delete-icon"></span>
		<?php echo lang('student_button_delete'); ?>
    </a>
	</div>
</div>
